package com.ruoyi.system.domain.client;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 质量数据采集明细 quality_data_details
 *
 * @author ruoyi
 * @date 2023-02-20
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("quality_data_details")
public class QualityDataDetails implements Serializable {

private static final long serialVersionUID=1L;

    /** ID */
    @TableId(value = "id")
    @ApiModelProperty(value = "ID")
    private Long id;

    /** 总成编码 */
    @ApiModelProperty(value = "总成编码")
    @Excel(name = "总成编码")
    private String assemblyCode;

    /** 工单号 */
    @ApiModelProperty(value = "工单号")
    @Excel(name = "工单号")
    private String orderCode;

    /** 序列号 */
    @ApiModelProperty(value = "序列号")
    @Excel(name = "序列号")
    private String serialNumber;

    /** 工位说明 */
    @ApiModelProperty(value = "工位说明")
    @Excel(name = "工位说明")
    private String stationDesc;

    /** 工位 */
    @ApiModelProperty(value = "工位")
    @Excel(name = "工位")
    private String stationCode;

    /** 采集项名称 */
    @ApiModelProperty(value = "采集项名称")
    @Excel(name = "采集项名称")
    private String collectItemName;

    /** 采集项值 */
    @ApiModelProperty(value = "采集项值")
    @Excel(name = "采集项值")
    private String collectItemValue;

    /** 采集时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "采集时间")
    @Excel(name = "采集时间")
    private Date collectItemTime;

    /** 创建者 */
    @ApiModelProperty(value = "创建者")
    private String createBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /** 更新者 */
    @ApiModelProperty(value = "更新者")
    private String updateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    /** 备注 */
    @ApiModelProperty(value = "备注")
    private String remark;

    /** 状态（0正常 1关闭） */
    @ApiModelProperty(value = "状态（0正常 1关闭）")
    private String status;

}
